/*
** item.h for item in /home/hubert_s//test/list_C
** 
** Made by sevan hubert
** Login   <hubert_s@epitech.net>
** 
** Started on  Tue Feb  8 13:31:57 2011 sevan hubert
** Last update Tue Feb  8 16:19:20 2011 sevan hubert
*/

#ifndef		__ITEM_H__
# define	__ITEM_H__

typedef struct	s_item
{
  void		*object;
  struct s_item *next;
  struct s_item *prev;
  unsigned int	size;   // size of object.
} item;

item	*alloc_list_item();
void	init_list_item(item *to_init, void *object, unsigned int size);
void	copy_list_item(item *to_init, item *srcs);

#endif
